package com.svse.designPattern.behaviour.command.concretecommand;

import com.svse.designPattern.behaviour.command.command.Code;
import com.svse.designPattern.behaviour.command.receiver.JsCode;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/6 20:45
 */
public class JsCoder  implements Code{
    private JsCode jsCode;

    public JsCoder() {
        jsCode=new JsCode();
    }

    @Override
    public void codeing() {
        System.out.println("javaScript 天下第一 只会写html");
        jsCode.codeing();
    }
}
